package org.smog.service.auth;

import org.smog.core.config.security.model.JwtToken;
import org.smog.service.auth.dto.AuthInput;

/**
 * @Description: Created by IntelliJ IDEA.
 * @project_name: smogTemp
 * @time: 2020-05-14 15:53
 * @email: 17685306043@163.com
 * @author: huangZhongYao
 */
public interface IAuthService {

    /**
     * 获取登录token
     * @return
     * @param input
     */
    JwtToken login(AuthInput input);

    /**
     * 退出登录
     * @return
     */
    Boolean logout();

}
